package com.gzy.studentsociety.dao;

import com.gzy.studentsociety.entity.Student;
import org.apache.commons.dbutils.QueryRunner;
import org.apache.commons.dbutils.handlers.BeanListHandler;

import java.sql.SQLException;
import java.util.List;

public interface StudentDao {

    List<Student> queryStudent(String name,String number) throws SQLException;


    public Student login(String acc, String pwd) throws SQLException;

    public Student findByNumber(String number) throws SQLException;

    public Student findById(Integer id) throws SQLException;

}
